package com.ruoyi.activiti.service;

import com.ruoyi.activiti.domain.CustomProcess;
import com.ruoyi.activiti.domain.HistoryTask;
import com.ruoyi.activiti.domain.ProcessHistory;

import java.util.List;
import java.util.Map;

public interface ICustomProcessService {
    void processTask(Map<String,Object> params);
    void saveProcess(CustomProcess customProcess);
    List<CustomProcess> selectList(CustomProcess process);
    CustomProcess selectById(Long id);
    void deleteProcess(Long id);
    void updateProcess(CustomProcess process);
    void deploy(Long id);
    List<ProcessHistory> listHistory(String procDefId);
    List<HistoryTask> listTaskHistory(String instanceId);
    List<ProcessHistory> listHistoryForInstanceId(String InstanceId);
    String getGraphDataForInstance(String instanceId);
}
